Moin,
wird an diesem Modul noch gearbeitet? Bei mir funktioniert es jedenfalls nach einer crashbedingten Reinstallation nicht mehr - ich kann mir zwar über "getURL" noch einen Access-Token holen, jedoch kommt nach Einkopieren desselben und einem "Query" danach nur noch ein "HTTP 404 Not Found"
Im Log bekomme ich2022.09.21 17:43:52.070 4: [switch] Processing Queue: NSPC_getBearerToken
2022.09.21 17:43:52.070 5: [switch] GetBearer - Session Token is <token>
2022.09.21 17:43:52.620 4: [switch] Processing Queue: NSPC_getDevices
2022.09.21 17:43:52.621 5: [switch] GetDevice - Starting Blocking Call
2022.09.21 17:43:54.431 5: [switch] GetDevice - received {"type":"https://moon.nintendo.com/errors/v1/400/update_required","status":400,"errorCode":"update_required","title":"UpdateRequiredException","detail":"","instance":"https://api-lp1.pctl.srv.nintendo.net/moon/v1/users/a1c195e685647f3f/devices/"}
2022.09.21 17:43:54.432 5: [switch] GetDevice - JSON is: {
'title' => 'UpdateRequiredException',
'detail' => '',
'status' => 400,
'errorCode' => 'update_required',
'instance' => 'https://api-lp1.pctl.srv.nintendo.net/moon/v1/users/a1c195e685647f3f/devices/',
'type' => 'https://moon.nintendo.com/errors/v1/400/update_required'
}
2022.09.21 17:43:54.442 4: [switch] Processing Queue: NSPC_getDailySummary
2022.09.21 17:43:54.724 5: [switch] Get DailySummary - received {"type":"https://moon.nintendo.com/errors/v1/404/not_found","status":404,"errorCode":"not_found","title":"NotFoundException","detail":"HTTP 404 Not Found","instance":"https://api-lp1.pctl.srv.nintendo.net/moon/v1/devices//daily_summaries"}
2022.09.21 17:43:54.725 5: [switch] Get DailySummary - JSON is: {
'type' => 'https://moon.nintendo.com/errors/v1/404/not_found',
'instance' => 'https://api-lp1.pctl.srv.nintendo.net/moon/v1/devices//daily_summaries',
'title' => 'NotFoundException',
'detail' => 'HTTP 404 Not Found',
'errorCode' => 'not_found',
'status' => 404
}
2022.09.21 17:43:54.734 4: [switch] Processing Queue: NSPC_getPCSettings
2022.09.21 17:43:55.018 5: [switch] Get PCSettings - received {"type":"https://moon.nintendo.com/errors/v1/404/not_found","status":404,"errorCode":"not_found","title":"NotFoundException","detail":"HTTP 404 Not Found","instance":"https://api-lp1.pctl.srv.nintendo.net/moon/v1/devices//parental_control_setting"}
2022.09.21 17:43:55.019 5: [switch] Get PCSettings - JSON is: {
'status' => 404,
'errorCode' => 'not_found',
'title' => 'NotFoundException',
'detail' => 'HTTP 404 Not Found',
'type' => 'https://moon.nintendo.com/errors/v1/404/not_found',
'instance' => 'https://api-lp1.pctl.srv.nintendo.net/moon/v1/devices//parental_control_setting'
}
Gruß, Christoph