401 Error when doing IONIC upload.
i am on IONIC 3.4 and accidentally deleted my site on the cloud. i re created it got a new ID and added it on my modules Cloud Setting Variable like so
const cloudSettings: CloudSettings = {
'core': {
'app_id': 'xxxxxxxxxx'
},
'auth': {
'facebook': {
'scope': []
}
}
}
since then every time i use ionic upload it is failing for me
Request: POST https://api.ionic.io/deploy/snapshots
Response: 401
Body:
{ link: null,
message: ‘Authentication failed’,
type: ‘Unauthorized’ }
Can anyone help?