problem with Named User Association API request content type

Hi 

I am having problems with sending named user associate with channel request. While being sent from android device - "charset=UTF-8" is automatically added to the "Content-Type" header. Seems like this is not allowed at UA -- as the error message says.

How can I get rid of this issue? Is there any alternative to send the API request with different header or even different process?

 

I am using UA API version 3 and "reat-native" as development platform.

Didn't find what you were looking for?

New post

Comments

2 comments

  • Hello,

    Please make sure that "Allow Named Users to be set from devices." is  toggled on for your app. This option can be found under Settings (Gear Icon) > API & Integrations under the Integrations tab.

    Thank you,
    Sean Conlin
    Urban Airship Technical Support
    Portland, Oregon

    Comment actions Permalink
    2
  • That worked fine. 

    Thanks a lot.

    Comment actions Permalink
    0

Please sign in to leave a comment.