Hi.
To use translator API, I tested sample code offered from MS. (https://github.com/MicrosoftTranslator/Text-Translation-API-App-V3-IOS)
But after build the project, I got just unwrapping error below.
"Fatal error: TranslatorV3Sample[3753:856508] Fatal error: Unexpectedly found nil while unwrapping an Optional value: file TranslatorV3Sample/Dictionary.swift"
I thought there is a problem on parsing data. So I tried to take a look at a data generated in parseJson function, to add simple code "print(String(data: responseData!, encoding: .utf8)!)".
But I also got error below.
"{"error":{"code":401000,"message":"The request is not authorized because credentials are missing or invalid."}}"
I think my account has some problems(api key or something), but I can't find where it is.
Anyone knows how to fix it??
I just want to build example code correctly or test my account any way.
My subscription is free trier, and iOS version is 14.4 and I tried in Dictionary.
Thanks