Getting an Unknown build error while deploying my organization project on APIGEE

Not applicable

[ERROR] {"fault":{"faultstring":"Execution of getOrgMetadata failed with error:

Exception thrown from JavaScript : Error retrieving organization metadata. Organ

ization: rebelliondev (getOrgMetadata_js#39)","detail":{"errorcode":"steps.javas

cript.ScriptExecutionFailed"}}}

0 7 364
7 REPLIES 7

@akshay.anand9 , Are you using any deployment tool to deploy same ?

Not applicable

@Anil Sagar We are using Maven build tool.

Not applicable

I am seeing this error as well is some test data. Have we gotten an answer @Anil Sagar?

@Dallen , I will follow up with maven plugin contributors, Unfortunately, I don't have answer for same.

@Anil Sagar Seeing this when I try to execute a curl API call.

Akashs-MacBook-Pro:~ akash$ curl -v -u aprabhashankar@apigee.com https://api.enterprise.apigee.com/v1/organizations/abc/environments/sit/virtualhosts/secure
Enter host password for user 'aprabhashankar@apigee.com':
* Hostname was NOT found in DNS cache
*   Trying 52.32.165.235...
* Connected to api.enterprise.apigee.com (52.32.165.235) port 443 (#0)
* TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256
* Server certificate: api.enterprise.apigee.com
* Server certificate: Go Daddy Secure Certification Authority
* Server certificate: Go Daddy Class 2 Certification Authority
* Server auth using Basic with user 'aprabhashankar@apigee.com'
> GET /v1/organizations/abc/environments/sit/virtualhosts/secure HTTP/1.1
> Authorization: Basic YXByYWJoYXNoYW5rYXJAYXBpZ2VlLmNvbTpBa2FzaEAxMjM=
> User-Agent: curl/7.37.1
> Host: api.enterprise.apigee.com
> Accept: */*
>
< HTTP/1.1 504 Server Error
< Content-Type: application/json
< Date: Mon, 14 Dec 2015 07:37:50 GMT
* Server Apigee Router is not blacklisted
< Server: Apigee Router
< Content-Length: 157
< Connection: keep-alive
<
{
    "code": "Error retrieving organization abc metadata.",
    "message": "Error retrieving organization abc metadata.",
    "contexts": []
* Connection #0 to host api.enterprise.apigee.com left intact

You are not passing the organization name in the curl API call. Do you have it hardcode somewhere?

@Anil Sagar @Dallen @oseymen@apigee.com

I'm seeing this lately as well, both via Maven builds and in UI over the past weekend.

What was the outcome?