Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards

API 2.0 - Classifications Update Script Help Needed

Avatar

Level 1

Hello,

 

I have my API credentials and permissions all set up properly and I have hit a wall on my import script. I’ve hit a wall at a 500 error, despite everything looking correct.

Can someone who has an active and working API classification update script please share it with me? Remove any sensitive information of course, I just want to see the script to compare it to what I am trying to set up.

 

Thabks!

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

2 Replies

Avatar

Community Advisor

Hi @JFN1 

Can you please check these things -

  • Make sure your payload structure matches exactly what the API expects for the classification upload endpoint. Even a small mismatch in field names or structure can cause this error.

  • Ensure your request headers include Content-Type as application/json and that your Authorization token is valid and properly scoped.

  • If you’re uploading a CSV file, double-check that it’s UTF-8 encoded and has consistent headers and columns. Adobe can return vague errors for file format issues.

  • Confirm the endpoint URL is correct for the classifications API. Some users accidentally use an outdated or incorrect path.

  • If you’re sending data in batches, try testing with just one or two rows to rule out data volume or content problems.

 

Let me know if that works.

 

 

Avatar

Community Advisor and Adobe Champion

I was helping someone with a similar issue last year... to my knowledge they never got it working...

 

https://experienceleaguecommunities.adobe.com/t5/adobe-analytics-questions/upload-file-adobe-analyti...

 

I assume this is a similar error to yours, which seems to revolve around the file not being accessible to Adobe...