INTERNAL SERVER ERROR IN RESPONSE OF EXPORT PRODUCT ENDPOINT.
Greetings,
I am trying to fetch enactments which are more than maxPagePullSize. So I am getting productExportEndpoint URL. I am sending GET request to productExportEndpoint with JWT (bearer token) in authentication and in headers as follows:
I am making JWT like this
{
iss: 'ams',
aud: '-App's-token-key-',
iat: 1589440030447,
exp: 1589441830447,
'o.a.p.ctenantId': '--tenant-id--'
}
I am signing this jwt with App's token secret and sending it in Authorization header.
Trial 1
headers: {
'Content-Type': 'application/json',
Authorization: 'Bearer token',
'invocation-id': '--invocation-id--',
'dataset-id': '--dataset-id--'
},
trial 2
headers: {
'Content-Type': 'application/json',
Authorization: 'Bearer --token--',
'OMC-ID': '--instance-id--',
'INVOCATION-ID': '--invocation-id--',
'DATASET-ID': '--dataset-id--'
},
While trying to send GET request to productExportEndpoint, I am getting 'INTERNAL SERVER ERROR' in response of the above request.