내 커뮤니티 업적 표시줄을 확대합니다.

Join us on September 25th for a must-attend webinar featuring Adobe Experience Maker winner Anish Raul. Discover how leading enterprises are adopting AI into their workflows securely, responsibly, and at scale.

Response status code 500 when create a flow with API call

Avatar

Level 2

I used Postman to create a dataflow (https://platform.adobe.io/data/foundation/flowservice/flows) successfully. However, when using the imported python code in databricks with the same credentials, I get a status code of 500. What could potentially be the issue on the server end? I use Databricks to make various API calls to the server and not experience any issues until now. Not sure why the same code works in Postman and not in Databricks.

 

Here is the error message.
Request failed with status code: 500 {"type":"https://ns.adobe.com/aep/errors/FLOW-1400-500","title":"Internal Error","status":500,"report":{"detailed-message":"An internal error has occurred. Please try again. If the problem persists, please contact customer support.","request-id":"PKcrlPGnGiEzQM8EXg3Jkcgy1TbrtciS"},"errorMessage":"An internal error has occurred. Please try again. If the problem persists, please contact customer support.","errorDetails":"An internal error has occurred. Please try again. If the problem persists, please contact customer support."}

 

4 답변 개

Avatar

Community Advisor

A 500 Internal Server Error usually indicates a server-side issue. Since it works in Postman but not Databricks, check the following:

  1. Request Differences: Ensure headers, body, and authentication are the same between Databricks and Postman.
  2. Rate Limiting: Verify you’re not hitting API rate limits or quotas in Databricks.
  3. API Versioning: Confirm you’re using the correct API version in both environments.
  4. Network Issues: Check for network problems or timeouts in Databricks.
  5. Databricks Configuration: Ensure your Databricks environment is configured properly for external API calls.

If the issue persists, contact Adobe support with the request-id from the error message.

Avatar

Level 2

The call is working, I added connection: keep-alive to the headers and also had separate calls to create the source connection and target connection and then pass the ids in the create flow call.

JohnYa5_0-1737403007020.png

 

Avatar

Level 5

Maybe check your credentials/keys? If it used to work and it suddenly doesn't, it could be as simple as an expired key, or outdated project permission.

 
 

Avatar

Administrator

@JohnYa5 Did you find the suggestions helpful? Please let us know if you need more information. If a response worked, kindly mark it as correct for posterity; alternatively, if you found a solution yourself, we’d appreciate it if you could share it with the community. Thank you!



Kautuk Sahni