Hi,
I got that message from REST service:
{ error: { code: 498, message: 'Invalid Token', details: [] } }
The problem is that it's disconnecting the WAB client.
Request:
For testing, I make a request loop for every 2 minutes, that's the results:
[8/17/2021, 12:08:15 AM] {
objectIdFieldName: 'id',
globalIdFieldName: '',
geometryType: 'esriGeometryPolyline',
spatialReference: { wkid: 102100, latestWkid: 3857 },
transform: {
originPosition: 'upperLeft',
scale: [ 9.55462853563444, 9.55462853563444 ],
translate: [ 34.80142300000006, 32.10266900000005 ]
},
features: []
}
[8/17/2021, 12:10:17 AM] {
objectIdFieldName: 'id',
globalIdFieldName: '',
geometryType: 'esriGeometryPolyline',
spatialReference: { wkid: 102100, latestWkid: 3857 },
transform: {
originPosition: 'upperLeft',
scale: [ 9.55462853563444, 9.55462853563444 ],
translate: [ 34.80142300000006, 32.10266900000005 ]
},
features: []
}
[8/17/2021, 12:12:21 AM] { error: { code: 498, message: 'Invalid Token', details: [] } }
[8/17/2021, 12:14:16 AM] {
objectIdFieldName: 'id',
globalIdFieldName: '',
geometryType: 'esriGeometryPolyline',
spatialReference: { wkid: 102100, latestWkid: 3857 },
transform: {
originPosition: 'upperLeft',
scale: [ 9.55462853563444, 9.55462853563444 ],
translate: [ 34.80142300000006, 32.10266900000005 ]
},
features: []
}
[8/17/2021, 12:16:15 AM] {
objectIdFieldName: 'id',
globalIdFieldName: '',
geometryType: 'esriGeometryPolyline',
spatialReference: { wkid: 102100, latestWkid: 3857 },
transform: {
originPosition: 'upperLeft',
scale: [ 9.55462853563444, 9.55462853563444 ],
translate: [ 34.80142300000006, 32.10266900000005 ]
},
features: []
}
As you can see the token is valid.
Arcgis 10.8.1 - all patches are installed - Federated
Portal 10.8.1.
Postgres DB.
Any suggestions?
Thanks.