uservoice / uservoice-ios-sdk

UserVoice iOS SDK
https://www.uservoice.com/mobile/
Other
336 stars 218 forks source link

Fail on UserVoice server side #432

Open ollirus opened 7 years ago

ollirus commented 7 years ago

In the last week (at Nov 14 or Nov 15) latest UserVoice SDK stopped working within production iOS app. I've checked it on debug build with that result:

UserVoice SDK network error: Error Domain=uservoice Code=404 "(null)" UserInfo={type=record_not_found, message=ActiveRecord::RecordNotFound}

Could you please clarify what's the problem?

ctalbott commented 7 years ago

More details from the customer:

This code was into the our apps all the time. And it works till Nov 14- Nov 15.

let config = UVConfig(site: "support.ultimate-guitar.com")         config.topicId = TempRootViewModel.userVoiceTopicId         config.forumId = 284477;

But the current code on the general -> mobile -> Uservoice iOS SDK is:

let config = UVConfig(site: "ultimateguitar.uservoice.com")         config.topicId = TempRootViewModel.userVoiceTopicId         config.forumId = 563158;

support.ultimate-guitar.com is CNAME to ultimateguitar.uservoice.com

So**your API worked with such settings till Nov 14.

We have 5 mobile iOS apps with the Uservoice. And we can't make update now for all of the apps.

Can you fix this problem on your side?

ctalbott commented 7 years ago

Your SDK implementation is pointing to a forum, you deleted on 11/15. We've restored the forum, so your mobile SDK implementation will work again. You will need to update your code to point to a different forum before deleting the forum it points to now.