API 2.0 - Classifications Update Script Help Needed | Community
Skip to main content
July 23, 2025
Question

API 2.0 - Classifications Update Script Help Needed

  • July 23, 2025
  • 2 replies
  • 270 views

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!

2 replies

Vinay_Chauhan
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
July 23, 2025

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.

 

 

Jennifer_Dungan
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
July 23, 2025

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-analytics-classification-error/m-p/720341

 

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