fhqvst / avanza

A JavaScript client for the unofficial Avanza API
MIT License
229 stars 59 forks source link

Endpoints now gives 404. #101

Open erik3rik opened 7 months ago

erik3rik commented 7 months ago
Error
{
  statusCode: 404,
  statusMessage: 'Not Found',
  headers: {
    'content-type': 'text/html;charset=iso-8859-1',
    'content-length': '441',
    connection: 'keep-alive',
    'keep-alive': 'timeout=30',
    date: 'Fri, 24 Nov 2023 07:08:01 GMT',
    server: 'Apache',
    'cache-control': 'must-revalidate,no-cache,no-store',
    via: '1.1 mobileapp52.prod.aza.nu',

    [...]

'strict-transport-security': 'max-age=31536000'
  },
  body: '<html>\n' +
    '<head>\n' +
    '<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>\n' +
    '<title>Error 404 Not Found</title>\n' +
    '</head>\n' +
    '<body><h2>HTTP ERROR 404 Not Found</h2>\n' +
    '<table>\n' +
    '<tr><th>URI:</th><td>/_mobile/account/overview</td></tr>\n' +
    '<tr><th>STATUS:</th><td>404</td></tr>\n' +
    '<tr><th>MESSAGE:</th><td>Not Found</td></tr>\n' +
    '<tr><th>SERVLET:</th><td>se.avanzabank.rest.mobile.account.AccountModuleFacadeConfiguration</td></tr>\n' +
    '</table>\n' +
    '\n' +
    '</body>\n' +
    '</html>\n'
}

Happened after the Thursday update at Avanza 2023-11-23.

jonasoreland commented 7 months ago

same as https://github.com/fhqvst/avanza/issues/99 ?

erik3rik commented 7 months ago

Not necessarily, as #99 was reported in April but the thing I reported above worked until the specified date in November. It may be related though, simply another instance of something that has moved but moved more recently.

pkfms commented 7 months ago

Same error. Started some time in the last month

erik3rik commented 7 months ago

Similar, not the same. The request I tried DID work 3 days ago, 2023-11-22. If something happened last month (i.e. October) the problem is perhaps similar but not identical.

pkfms commented 7 months ago

sorry. to clarify, _mobile/account/overview did work a month ago and stopped working some time later. probably in the last few days as you said.

jegt commented 7 months ago

It stopped working 2023-11-23 07:00 Swedish time.