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

Mobile Symbolication API - PUT Fails

dilloncourts
Newcomer

I am failing to upload an android mapping file to the Dynatrace API. The only response I get is a 400. Can anyone help with this? Following instructions as described here: https://www.dynatrace.com/support/help/how-to-use-dynatrace/real-user-monitoring/how-to-use-real-use...

 

curl --header "content-type: plain-text" --header 'Authorization: Api-Token <token>' https://<url>/api/config/v1/symfiles/<app_id>/<package_name>/ANDROID/12345678/4.0 -T "/path/to/file/mapping.txt"

 

Have tried a variety of variations on this including zipping the file and modifying the content-type.

2 REPLIES 2

dilloncourts
Newcomer

Found the answer to this, even though the docs say to use 'content-type: text-plain', the header actually needs to be 'content-type: text/plain'.

Hi! Thank you for pointing this out, I've communicated it to our Documentation team. Glad to see you've found the solution to your problem too! 

The only constant is change. Finding ways for great things to happen!

Featured Posts