POST card/to-inbox 404

Hello, my partner made a new kinopio account and is trying to use phonetonote via the API, but is getting a 404 hitting https://api.kinopio.club/card/to-inbox with an API key. One possible hint is I do not see an “ID” in her user info in the top right like I do with my account. Her email is ka[REDACTED]ck at gmail. I did see some closed tickets about it being an empty space. There are default cards in the inbox space, but I did add one manually just to confirm and that is not the issue.

The (scrubbed) API key is 718[REDACTED]84f. This is being passed as the Authorization header. I am relatively confident this part is correct because the phonetonote integration generally works.

Are they doing a POST request? It sounds like they might be doing a GET

Yes, it is a POST. The relevant ruby method in phonetonote is:

KINOPIO_URL = "https://api.kinopio.club/card/to-inbox"

def perform
    begin
      data = { name: text }

      uri = URI.parse(KINOPIO_URL)
      http = Net::HTTP.new(uri.host, uri.port)
      http.use_ssl = true
      request = Net::HTTP::Post.new(uri.request_uri, {
        "Content-Type" => "application/json",
        "Cache-Control" => "must-revalidate, no-store, no-cache, private",
        "Authorization" => "#{api_key}"
      })
      request.body = data.to_json
      response = http.request(request)
      response_data = JSON.parse(response.body)

      error_status = [400, 401, 404, 500]
      if error_status.include?(response.code.to_i) || error_status.include?(response_data["status"])
        raise response_data.to_s
      end

      return true
    rescue => error
      Rails.logger.error "KinopioWrapper: #{error}"
      @success = false
    end

  end