{"action":"created","issue":{"url":"https://api.github.com/repos/cfpb/hmda-platform/issues/618","repository_url":"https://api.github.com/repos/cfpb/hmda-platform","labels_url":"https://api.github.com/repos/cfpb/hmda-platform/issues/618/labels{/name}","comments_url":"https://api.github.com/repos/cfpb/hmda-platform/issues/618/comments","events_url":"https://api.github.com/repos/cfpb/hmda-platform/issues/618/events","html_url":"https://github.com/cfpb/hmda-platform/issues/618","id":181759677,"number":618,"title":"Getting a 403 on /institutions/<institution>/filings/<period>/submissions/<submissionId>","user":{"login":"awolfe76","id":2932572,"avatar_url":"https://avatars.githubusercontent.com/u/2932572?v=3","gravatar_id":"","url":"https://api.github.com/users/awolfe76","html_url":"https://github.com/awolfe76","followers_url":"https://api.github.com/users/awolfe76/followers","following_url":"https://api.github.com/users/awolfe76/following{/other_user}","gists_url":"https://api.github.com/users/awolfe76/gists{/gist_id}","starred_url":"https://api.github.com/users/awolfe76/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awolfe76/subscriptions","organizations_url":"https://api.github.com/users/awolfe76/orgs","repos_url":"https://api.github.com/users/awolfe76/repos","events_url":"https://api.github.com/users/awolfe76/events{/privacy}","received_events_url":"https://api.github.com/users/awolfe76/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cfpb/hmda-platform/labels/File%20Submission","name":"File Submission","color":"5319e7"}],"state":"open","locked":false,"assignee":{"login":"kgudel","id":13244336,"avatar_url":"https://avatars.githubusercontent.com/u/13244336?v=3","gravatar_id":"","url":"https://api.github.com/users/kgudel","html_url":"https://github.com/kgudel","followers_url":"https://api.github.com/users/kgudel/followers","following_url":"https://api.github.com/users/kgudel/following{/other_user}","gists_url":"https://api.github.com/users/kgudel/gists{/gist_id}","starred_url":"https://api.github.com/users/kgudel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kgudel/subscriptions","organizations_url":"https://api.github.com/users/kgudel/orgs","repos_url":"https://api.github.com/users/kgudel/repos","events_url":"https://api.github.com/users/kgudel/events{/privacy}","received_events_url":"https://api.github.com/users/kgudel/received_events","type":"User","site_admin":false},"assignees":[{"login":"kgudel","id":13244336,"avatar_url":"https://avatars.githubusercontent.com/u/13244336?v=3","gravatar_id":"","url":"https://api.github.com/users/kgudel","html_url":"https://github.com/kgudel","followers_url":"https://api.github.com/users/kgudel/followers","following_url":"https://api.github.com/users/kgudel/following{/other_user}","gists_url":"https://api.github.com/users/kgudel/gists{/gist_id}","starred_url":"https://api.github.com/users/kgudel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kgudel/subscriptions","organizations_url":"https://api.github.com/users/kgudel/orgs","repos_url":"https://api.github.com/users/kgudel/repos","events_url":"https://api.github.com/users/kgudel/events{/privacy}","received_events_url":"https://api.github.com/users/kgudel/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-10-07T20:22:59Z","updated_at":"2016-10-12T15:27:42Z","closed_at":null,"body":"When running the docker-compose set up I'm seeing this error:\r\n`POST http://192.168.99.100/api/institutions/0/filings/2016/submissions/8 403 (Forbidden)`\r\n\r\nI can see that the correct headers are there (I think).\r\n\r\n```\r\nPOST /api/institutions/0/filings/2016/submissions HTTP/1.1\r\nHost: 192.168.99.100\r\nConnection: keep-alive\r\nContent-Length: 0\r\nPragma: no-cache\r\nCache-Control: no-cache\r\nOrigin: http://192.168.99.100\r\ncfpb-hmda-institutions: 0,1,2,3\r\ncfpb-hmda-username: fakeuser\r\nUser-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.89 Safari/537.36\r\ncontent-type: application/json\r\nAccept: */*\r\nReferer: http://192.168.99.100/0/2016\r\nAccept-Encoding: gzip, deflate\r\nAccept-Language: en-US,en;q=0.8\r\n```\r\n\r\nCan someone else try this? Or if you know the problem let me know?"},"comment":{"url":"https://api.github.com/repos/cfpb/hmda-platform/issues/comments/253246882","html_url":"https://github.com/cfpb/hmda-platform/issues/618#issuecomment-253246882","issue_url":"https://api.github.com/repos/cfpb/hmda-platform/issues/618","id":253246882,"user":{"login":"awolfe76","id":2932572,"avatar_url":"https://avatars.githubusercontent.com/u/2932572?v=3","gravatar_id":"","url":"https://api.github.com/users/awolfe76","html_url":"https://github.com/awolfe76","followers_url":"https://api.github.com/users/awolfe76/followers","following_url":"https://api.github.com/users/awolfe76/following{/other_user}","gists_url":"https://api.github.com/users/awolfe76/gists{/gist_id}","starred_url":"https://api.github.com/users/awolfe76/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awolfe76/subscriptions","organizations_url":"https://api.github.com/users/awolfe76/orgs","repos_url":"https://api.github.com/users/awolfe76/repos","events_url":"https://api.github.com/users/awolfe76/events{/privacy}","received_events_url":"https://api.github.com/users/awolfe76/received_events","type":"User","site_admin":false},"created_at":"2016-10-12T15:27:42Z","updated_at":"2016-10-12T15:27:42Z","body":"Based on https://github.com/cfpb/hmda-platform/pull/622 I tried setting the `Content-Type` to `multipart/form-data` but still get the 403. I also tried [this sample file](https://github.com/cfpb/hmda-platform/blob/master/parser/src/test/resources/txt/FirstTestBankData_clean_407_2017.txt) from `hmda-platform/blob/master/parser/src/test/resources/txt/`.\r\n\r\nNew request headers:\r\n```\r\nPOST /api/institutions/0/filings/2017/submissions/5 HTTP/1.1\r\nHost: 192.168.99.100\r\nConnection: keep-alive\r\nContent-Length: 53943\r\nPragma: no-cache\r\nCache-Control: no-cache\r\nOrigin: http://192.168.99.100\r\nCFPB-HMDA-Institutions: fakeinstitution\r\nCFPB-HMDA-Username: fakeuser\r\nUser-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.89 Safari/537.36\r\nContent-Type: multipart/form-data\r\nContent-Disposition: inline; filename=\"FirstTestBankData_clean_407_2017.txt\"\r\nAccept: */*\r\nReferer: http://192.168.99.100/0/2017\r\nAccept-Encoding: gzip, deflate\r\nAccept-Language: en-US,en;q=0.8\r\n```"}}
{"actor":{"display_login":"awolfe76"}}