Hi,
I have check all similar posts, but I could not find a good answer.
I have created the simplest configuration. I am using your iOS sample app where I have filled my bundle id and my project keys (app and secret)
I am still getting 401 when the channel should be created.
I can provide my keys and logs if needed.
Thanks,
Marius
2022-01-14 11:05:44.297586+0100 Sample[79928:5200239] [Airship] [D] AirshipCore/ChannelAPIClient.swift createChannel(withPayload:completionHandler:) [Line 55] Channel creation finished with response: <NSHTTPURLResponse: 0x283e0cbc0> { URL: https://device-api.urbanairship.com/api/channels/ } { Status Code: 401, Headers {
"Alt-Svc" = (
"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"
);
"Content-Length" = (
54
);
"Content-Type" = (
"application/vnd.urbanairship+json;version=3"
);
Date = (
"Fri, 14 Jan 2022 10:05:44 GMT"
);
Via = (
"1.1 google"
);
"Www-Authenticate" = (
"Basic realm=\"API\""
);
} }
2022-01-14 11:05:44.297805+0100 Sample[79928:5200239] [Airship] [D] AirshipCore/ChannelRegistrar.swift createChannel(payload:task:) [Line 304] Channel creation failed with response HTTPResponse(status=401)
2022-01-14 11:05:44.297886+0100 Sample[79928:5200239] [Airship] [I] AirshipCore/Channel.swift registrationFailed() [Line 565] Channel registration failed
Comments
3 comments