Your suggested change has been received. Thank you.

close

Suggest A Change

https://thales.na.market.dpondemand.io/docs/dpod/services/kmo….

back

DPoD APIs

API Troubleshooting

search

API Troubleshooting

API Troubleshooting

This page details some common errors you may encounter using the APIs and their solutions.

Errors

Data Doesn't Pass Properly in Windows cmd

When using windows cmd to pass data, quotation marks need to be escaped by adding a \ before each instance of quotation marks. Example:


curl -v -XPOST "https://*******.eu.market.dpondemand.io/v1/audit-log-exports
" -H "Authorization: Bearer <bearer_token>" -H "Content-Type: application/json" -d "{\"from\":\"2022-07-25T16:00:00Z\",\"to\":\"2022-07-25T20:00:00Z\"}"

JWT Token Expires after 1 Hour

The JSON Web Token (JWT) used to authenticate to the API expires after one hour. You must generate a new token to continue using the API if the old token has expired.