Skip to content

Invalid input for field 'scope/project/name': *** is not of type 'string' #503

Description

@tonymadbrain

Hello!
After provider upgraded OpenStack to Queens we have error when try to auth:

Actual(400 Bad Request) (Excon::Error::BadRequest) excon.error.response :body => "{\"error\": {\"message\": \"Invalid input for field 'scope/project/name': 123 is not of type 'string'\\n\\nFailed validating 'type' in schema['properties']['scope']['properties']['project']['properties']['name']:\\n {'type': 'string'}\\n\\nOn instance['scope']['project']['name']:\\n 23446\", \"code\": 400, \"title\": \"Bad Request\"}}" :cookies => [ ] :headers => { "Content-Length" => "326" "Content-Type" => "application/json" "Date" => "Tue, 08 Oct 2019 11:23:47 GMT" "Server" => "Apache/2.4.18 (Ubuntu)" "Vary" => "X-Auth-Token" "X-Distribution" => "Ubuntu" "x-openstack-request-id" => "req-4c4f7e09-d41b-4ad7-85cf-2496cb819b01" } :host => "auth.some.openstack.provider.com" :local_address => "*.*.*.*" :local_port => 59461 :path => "/v3/auth/tokens" :port => 5000 :reason_phrase => "Bad Request" :remote_ip => "*.*.*.*" :status => 400 :status_line => "HTTP/1.1 400 Bad Request\r\n"

I did small fix (pr attached). Is this ok?

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions