Open-source crypto currency exchange software (https://openware.com)
1.04k
stars
623
forks
source link
Document Upload - We're sorry, but something went wrong. - ArgumentError ( is not a recognized provider) #1357
Closed
TheHolyRoger closed 6 years ago
Hello, upon upload of documents to Barong for the ID verification, I receive a:
Here's my Barong log:
INFO -- : [] Started POST "/documents" for XXX at XXX INFO -- : [] Processing by DocumentsController#create as HTML INFO -- : [] Parameters: {"utf8"=>"✓", "authenticity_token"=>"XXX", "document"=>{"upload"=>#<ActionDispatch::Http::UploadedFile:0x0000555dc9fb1c98 @tempfile=#<Tempfile:/tmp/RackMultipart20180625-1-1bvpxh3.png>, @original_filename="bcrap.png", @content_type="image/png", @headers="Content-Dispo sition: form-data; name=\"document[upload]\"; filename=\"bcrap.png\"\r\nContent-Type: image/png\r\n">, "doc_type"=>"Passport", "doc_expire"=>"XXX", "doc_number"=>"XXX"}, "commit"=>"Submit"} DEBUG -- : [] Account Load (0.4ms) SELECT 'accounts'.* FROM 'accounts' WHERE 'accounts'.'id' = 2 ORDER BY 'accounts'.'id' ASC LIMIT 1 DEBUG -- : [] (0.4ms) BEGIN DEBUG -- : [] SQL (0.4ms) INSERT INTO 'documents' ('account_id', 'upload', 'doc_type', 'doc_number', 'doc_expire', 'created_at', 'updated_at') VALUES (2 , 'bcrap.png', 'Passport', 'XXX', 'XXX', 'XXX', 'XXX') DEBUG -- : [] (1.4ms) ROLLBACK INFO -- : [] Completed 401 Unauthorized in 9ms (ActiveRecord: 2.6ms) FATAL -- : [] FATAL -- : [] ArgumentError ( is not a recognized provider): FATAL -- : [] FATAL -- : [] app/controllers/documents_controller.rb:13:in 'create'