Announcements
This site is in read only until July 22 as we migrate to a new platform; refer to this community post for more details.
Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Apigee Smartdocs maven plugin error for drupal 8 portal

Hi All, I have been using apigee smartdocs maven plugin v2.0 for deploying API specs(JSON format) to the Drupal 8 developer portal.When I execute the following command to upload a spec to the dev portal,I am getting an error shown below

Version used : 2.0.0

Command used:

mvn install -Pdev -Dapigee.smartdocs.config.options=create			

Error:

Failed to execute goal com.apigee.smartdocs.config:apigee-smartdocs-maven-plugin:2.0.0:apidoc (smartdocs-deploy) on project DeveloperPortal: Execution smartdocs-deploy of goal com.apigee.smartdocs.config:apigee-smartdocs-maven-plugin:2.0.0:apidoc failed: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $

I have attached the complete maven error log as well for reference. Could you please let me know where it could've gone wrong?

errorlog.txt

@Sai Saran Vaidyanathan, @Nagashree B @Anil Sagar @ Google - Could you please point me where it could've gone wrong ?

0 5 363
5 REPLIES 5