vincere-io / restful-api-support

5 stars 0 forks source link

Vincere API v2 - Activities - 400 Bad Request error #26

Open amine-el-amrani opened 12 months ago

amine-el-amrani commented 12 months ago

Hi,

Hope you can help me with a few technical issues.

I'm making a POST request to https://companyname.vincere.io/api/v2/activities?index=2, and when I change index to 1, it works.

In the request body, I'm using the following JSON data: { "created_date_from": "2023-01-09T00:00:00.000Z", "created_date_to": "2023-09-10T00:00:00.000Z" }

Additionally, I've included the following headers: x-api-key and id-token

Despite these configurations, I'm encountering an error when accessing certain slides.

I would highly appreciate if you could help me understand what is causing this error:

{"message":"Data is invalid","status":"FAILED","httpStatus":"400","errorId":"b85c9306-c4a7-4091-b048-73dc77dab16a","errors":["POST /activity/api/v1/activities failed and no fallback available."]}

Please let me know should you need more details.

Thank you!