V8-archive: /users/me returns 500

Created on 25 Dec 2018  路  7Comments  路  Source: directus/v8-archive

Nothing logged in error log unfortunately

bug

All 7 comments

I cannot reproduce this issue. Does the request respond with something?

This is what I got on the logs, for a /_/users/me?fields=last_page call

api[_].ERROR: TypeError: Argument 1 passed to Directus\Database\Query\Builder::columns() must be of the type array, integer given, called in /var/www/directus/src/core/Directus/Database/TableGateway/RelationalTableGateway.php on line 992 in /var/www/directus/src/core/Directus/Database/Query/Builder.php:100

@mcamacho that one in specific was already fixed, it will be included in the next version release.

Ref: https://github.com/directus/api/commit/83f5b5b982fec56e251602a843cab608b0f252c1

So it's done @WellingGuzman? Safe to close?

@rijkvanzanten I am unable to reproduce your issue, as I can get data using /users/me.

What's fixed is the issue above when someone uses the fields param on any endpoint

If that was your case getting the error when fields was used, then lets close this ticket.

Yes, it was also with fields. When logging in, the application will use /_/users/me?fields=last_page to retrieve to what page to navigate on load.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rijkvanzanten picture rijkvanzanten  路  55Comments

ybelenko picture ybelenko  路  31Comments

cristianopolicarpo picture cristianopolicarpo  路  27Comments

DeMuu picture DeMuu  路  33Comments

zeusstl picture zeusstl  路  26Comments