Re: [Koha] Koha API - Authentication Failure

2021-05-17 Thread Tomas Cohen Arazi
Check the plack*.log files in the logs El lun., 17 may. 2021 14:53, Aswin Unnikrishnan escribió: > Thanks for pointing that out Stephen, I will have to look into that, it > might be the issue here. > > Tomas, I am not exactly sure if we have plack running or not. Plack seems > to be enabled, bu

Re: [Koha] Koha API - Authentication Failure

2021-05-17 Thread Aswin Unnikrishnan
Thanks for pointing that out Stephen, I will have to look into that, it might be the issue here. Tomas, I am not exactly sure if we have plack running or not. Plack seems to be enabled, but plack logs are all empty. the logs are all at intranet-error.log and opac-error.log I will try out the apa

Re: [Koha] UNIMARC to MARC21

2021-05-17 Thread Andy Boze
I needed to do that a few years ago. If you're importing the records via Z39.50, you'll find some information at < https://lists.katipo.co.nz/public/koha/2016-July/045753.html >. If you're importing from a file, you could use MarcEdit to convert the records first. < https://marcedit.reeset.net

Re: [Koha] Koha API - Authentication Failure

2021-05-17 Thread Tomas Cohen Arazi
Are you running Plack? El lun, 17 may 2021 a las 11:53, Aswin Unnikrishnan () escribió: > Thanks Stephen, Tomas for the quick response. > > Aswin - are you using the correct URL to call your custom endpoint. It >> should be under the contrib namespace e.g. >> > > The app i am making is not part o

Re: [Koha] Koha API - Authentication Failure

2021-05-17 Thread Stephen Graham
Could it be an issue with Apache? When we first started using the API we had an auth issue and our hosting company said: “By default Apache strips out Authorization headers and it is necessary to explicitly tell it not to do that when you're trying to pass authorisation tokens through in the Au

Re: [Koha] Koha API - Authentication Failure

2021-05-17 Thread Aswin Unnikrishnan
Thanks Stephen, Tomas for the quick response. Aswin - are you using the correct URL to call your custom endpoint. It > should be under the contrib namespace e.g. > The app i am making is not part of koha, its a seperate web app which makes calls to /api/v1/ end points of the koha server. Does th

[Koha] UNIMARC to MARC21

2021-05-17 Thread Himanshu Aggarwal
Is there any way we can convert in Koha UNIMARC to MARC21. Basically if I am importing data in UNIMARC but I have MARC21 flavor chosen for most of my records. -- Assistant Librarian, Confucius Institute Scholar 13-14, R.D. National College, Bandra (W.) _

Re: [Koha] Koha API - Authentication Failure

2021-05-17 Thread Tomas Cohen Arazi
Does the user (owner of the id/secret pair) have privileged access to Koha? Remember it needs to have permissions to enter the staff interface (the 'catalogue' permission) in order to access routes (other than those in the /api/v1/public namespace). BTW: All routes also have some required permissi

Re: [Koha] Koha API - Authentication Failure

2021-05-17 Thread Stephen Graham
Aswin - are you using the correct URL to call your custom endpoint. It should be under the contrib namespace e.g. https:///api/v1/contrib/ Stephen -Original Message- From: Koha On Behalf Of Aswin Unnikrishnan Sent: 17 May 2021 13:40 To: Discussion Group Koha Subject: [Koha] Koha API

[Koha] Koha API - Authentication Failure

2021-05-17 Thread Aswin Unnikrishnan
Hi, I wanted to build an app that uses the koha API, and so i was testing it out, but I keep getting "Authentication Failure" error whichever end point I try to access. The steps i did are 1. Got the client_id / secret from koha 2. Sent a POST request to api/v1/oauth/token with required parameter