{"action":"created","issue":{"url":"https://api.github.com/repos/apaleo/api/issues/27","repository_url":"https://api.github.com/repos/apaleo/api","labels_url":"https://api.github.com/repos/apaleo/api/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/apaleo/api/issues/27/comments","events_url":"https://api.github.com/repos/apaleo/api/issues/27/events","html_url":"https://github.com/apaleo/api/issues/27","id":372357751,"node_id":"MDU6SXNzdWUzNzIzNTc3NTE=","number":27,"title":"401 error when updating guest","user":{"login":"c2ofh","id":10913793,"node_id":"MDQ6VXNlcjEwOTEzNzkz","avatar_url":"https://avatars3.githubusercontent.com/u/10913793?v=4","gravatar_id":"","url":"https://api.github.com/users/c2ofh","html_url":"https://github.com/c2ofh","followers_url":"https://api.github.com/users/c2ofh/followers","following_url":"https://api.github.com/users/c2ofh/following{/other_user}","gists_url":"https://api.github.com/users/c2ofh/gists{/gist_id}","starred_url":"https://api.github.com/users/c2ofh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c2ofh/subscriptions","organizations_url":"https://api.github.com/users/c2ofh/orgs","repos_url":"https://api.github.com/users/c2ofh/repos","events_url":"https://api.github.com/users/c2ofh/events{/privacy}","received_events_url":"https://api.github.com/users/c2ofh/received_events","type":"User","site_admin":false},"labels":[{"id":1016066005,"node_id":"MDU6TGFiZWwxMDE2MDY2MDA1","url":"https://api.github.com/repos/apaleo/api/labels/bug","name":"bug","color":"d73a4a","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-10-21T21:14:56Z","updated_at":"2018-10-22T10:53:17Z","closed_at":"2018-10-22T07:20:37Z","author_association":"NONE","body":"I want to update guest data. It worked several weeks before without errors.\r\nNow I get 401 Forbidden. \r\n\r\n**URL**: booking/v1/reservations/:reservation_id\r\n**Method**: Patch\r\n**Payload**: \r\n```ruby\r\n[{:value=>\r\n   {:title=>\"Mr\",\r\n    :firstName=>\"Firstname\",\r\n    :lastName=>\"LastName\",\r\n    :email=>\"name@gmail.com\",\r\n    :phone=>\"01234567\",\r\n    :address=>{:addressLine1=>\"Street 41\", \r\n               :postalCode=>\"123456\", \r\n               :city=>\"Cityname\",\r\n               :countryCode=>\"DE\"},\r\n    :nationalityCountryCode=>\"DE\",\r\n    :birthDate=>\"1970-01-01\"},\r\n  :path=>\"primaryGuest\",\r\n  :op=>\"replace\"}]\r\n```\r\n\r\n_The payload was anonymized for this issue._\r\n\r\nThe Bearer token is valid and expires in 45 minutes. Other requests are working fine."},"comment":{"url":"https://api.github.com/repos/apaleo/api/issues/comments/431801651","html_url":"https://github.com/apaleo/api/issues/27#issuecomment-431801651","issue_url":"https://api.github.com/repos/apaleo/api/issues/27","id":431801651,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMTgwMTY1MQ==","user":{"login":"aprooks","id":1265082,"node_id":"MDQ6VXNlcjEyNjUwODI=","avatar_url":"https://avatars1.githubusercontent.com/u/1265082?v=4","gravatar_id":"","url":"https://api.github.com/users/aprooks","html_url":"https://github.com/aprooks","followers_url":"https://api.github.com/users/aprooks/followers","following_url":"https://api.github.com/users/aprooks/following{/other_user}","gists_url":"https://api.github.com/users/aprooks/gists{/gist_id}","starred_url":"https://api.github.com/users/aprooks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aprooks/subscriptions","organizations_url":"https://api.github.com/users/aprooks/orgs","repos_url":"https://api.github.com/users/aprooks/repos","events_url":"https://api.github.com/users/aprooks/events{/privacy}","received_events_url":"https://api.github.com/users/aprooks/received_events","type":"User","site_admin":false},"created_at":"2018-10-22T10:53:17Z","updated_at":"2018-10-22T10:53:17Z","author_association":"NONE","body":"@c2ofh \tcould you please check if status code returned was 401 or 403?"}}
{"actor":{"display_login":"aprooks"}}