cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Error while uploading proguard mapping file via REST API

Naga
Frequent Guest

We are trying to upload the progaurd mapping file via REST API and the rest API's can be tested locally with CURL commands.

As per the documentation we are using the SaaS - https://{your-environment-id}.live.dynatrace.com/api/config/v1/symfiles/{applicationId}/{packageName}/{os}/{versionCode}/{versionName} 

 

curl --request PUT  --header 'Authorization: Api-Token <token>’ --url <host>/api/config/v1/symfiles/<applicationID>/<packageName>/ANDROID/9810/98.10 --upload-file <local path of the file where its stored local in macbook>

 

and we are getting the error as 

{"error":{"code":400,"message":"Symbol file contains no data"}}

 

and when the same symbol file is uploaded via Dashboard manually we are not getting any issue.

 

Could someone help on this issue please.

1 REPLY 1

dilloncourts
Newcomer

How did you resolve this? We are seeing a similar problem. Just getting a 400 back on the same curl request you have above.