swift
1let relation = NCMBRelation(className: NCMBUser.current(), key: "comments") 2let query = relation?.query() 3query?.findObjectsInBackground{ (objects, error) in 4if error== nil{ 5 6} else { 7print(error)//ここでエラーを出力しました。 8} 9}
このような流れでNCMBUsr.current()に紐づいたcommentsを取得しようとしています。
画像にあるようにリレーションは設定できているようなんですが、findObjectInBackgroundのところで、うまくいきません。
ご教授よろしくお願いいたします。
![
エラーの内容はこちらです。
Error Domain=com.nifty.cloud.mb Code=403002 "Unauthorized operations for signature." UserInfo={NSLocalizedDescription=Unauthorized operations for signature.}
こんにちは。 直接の回答でなく恐縮なのですが、ユーザコミュニティがGitHub上に展開されているかもしれないので、こちらがもし適切と感じられましたらこちらでも質問されてみてはいかがでしょうか? ニフティクラウド mobile backend ユーザーコミュニティ https://github.com/NIFTYCloud-mbaas/UserCommunity
あなたの回答
tips
プレビュー