# Create meeting gives me {"code"=\>3000, "message"=\>"You cannot schedule a meeting for me."}

**URL:** <https://devforum.zoom.us/t/create-meeting-gives-me-code-3000-message-you-cannot-schedule-a-meeting-for-me/57294>\
**Category:** API and Webhooks\
**Created:** [September 11, 2021, 6:59pm UTC](https://devforum.zoom.us/t/create-meeting-gives-me-code-3000-message-you-cannot-schedule-a-meeting-for-me/57294 "2021-09-11T18:59:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![emmetgibney](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/emmetgibney/32/30603_2.png) [@emmetgibney](https://devforum.zoom.us/u/emmetgibney)\
**Post date:** [September 11, 2021, 6:59pm UTC](https://devforum.zoom.us/t/create-meeting-gives-me-code-3000-message-you-cannot-schedule-a-meeting-for-me/57294/1 "2021-09-11T18:59:22Z")

</div>

**Description**  
When I try and create a meeting using the API I get the error code 3000, “You cannot schedule a meeting for me”. If I try without an access token I get errors telling me I have the wrong access token, so I don’t think it has anything to do with my access token. Any help to point out what I’m doing wrong would be much appreciated. Thank you!

I have tried with both “User Managed” and “Account Level” apps and get the same error message regardless.

**Error**  
{“code”=\>3000, “message”=\>“You cannot schedule a meeting for me.”}

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
OAuth

**Which Endpoint/s?**

> **[Create a meeting - Meetings - Zoom API - API Reference](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingcreate)**
>
> Use this API to create a meeting for a user. For user-level apps, pass the me value instead of the userId parameter.
> 
> A meeting's start\_url value is the...

[https://api.zoom.us/v2/users/me/meetings](https://api.zoom.us/v2/users/me/meetings)

**How To Reproduce (If applicable)**  
Steps to reproduce the behavior:  
Here is the code from the method in my Rails app where I am trying to create a meeting

```auto
def create_zoom_meeting
    access_token = current_user.team.zoom_access_token
    zoom_client_id = ENV['ZOOM_CLIENT_ID']
    zoom_client_secret = ENV['ZOOM_CLIENT_SECRET']
    uri = URI("https://api.zoom.us/v2/users/me/meetings")
    request = Net::HTTP::Post.new(uri)
    request.basic_auth("#{zoom_client_id}", "#{zoom_client_secret}")
    request.content_type = "application/json"
    request["Authorization"] = "Bearer #{access_token}"
    request.body = JSON.dump({
      "topic" => "topic here",
      "type" => 2,
      "pre_schedule" => true,
      "start_time" => "2021-10-31T12:02:00Z",
      "schedule_for" => "me",
      "timezone" => "Europe/Dublin",
      })

    req_options = {
      use_ssl: uri.scheme == "https",
    }

    response = Net::HTTP.start(uri.hostname, uri.port, req_options) do |http|
      http.request(request)
    end

    params = JSON.parse(response.body)
    puts "============> #{params}"
  end

```

---

<div class="post-metadata">

**Author:** ![emmetgibney](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/emmetgibney/32/30603_2.png) [@emmetgibney](https://devforum.zoom.us/u/emmetgibney)\
**Post date:** [September 13, 2021, 12:20pm UTC](https://devforum.zoom.us/t/create-meeting-gives-me-code-3000-message-you-cannot-schedule-a-meeting-for-me/57294/2 "2021-09-13T12:20:51Z")

</div>

I managed to get it working. I removed “pre\_schedule” and “schedule\_for” from the request body and now it is working fine.

The schedule\_for is unnecessary because the URI references “me” and the pre\_schedule option means something different to what I thought it meant. Basically when you pre\_schedule the meeting doesn’t show up as active until you activate it (I don’t know how).

Anyway, I got everything working for me the way I needed it to.

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [September 14, 2021, 11:55am UTC](https://devforum.zoom.us/t/create-meeting-gives-me-code-3000-message-you-cannot-schedule-a-meeting-for-me/57294/3 "2021-09-14T11:55:01Z")

</div>

Thanks for following up and confirming you got this working @emmetgibney

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [September 14, 2021, 11:55am UTC](https://devforum.zoom.us/t/create-meeting-gives-me-code-3000-message-you-cannot-schedule-a-meeting-for-me/57294/4 "2021-09-14T11:55:06Z")

</div>

Closed on September 14, 2021, 11:55am UTC


