Skip to main content
Gymza

RFID badges and access control

RFID badge refused, unknown or ignored: troubleshooting access control

A badge that does not work at 7 pm with ten people behind it is when you wish you had a method. Almost every failure comes from one of four places: the badge, the reader, the link to the controller, or an access rule doing exactly what it was told. Here is how to find which, symptom by symptom.

By the Gymza editorial team · Atlaxys ConsultingUpdated 7 min read

In short

  • Start by reading the refusal reason in Access control → Live: it tells you whether the problem is the badge, the member or a rule.
  • Badge recognised at reception but unknown at the turnstile: the two readers do not send the same number. It is the most common failure of a new installation.
  • A relay that does not click on Test is wiring, not software.
  • For support, Export diagnostics produces a file with no member data at all.

First, locate the failure

An entry goes through four stages: the badge is read, its number reaches the software, the software applies the rules, then the controller moves the turnstile. Before touching a single cable, find the stage where it stops. Gymza gives you three tools for that:

  • Test the reader (RFID badges page): what the reception reader typed, the number it became and who holds it, without recording an entry.
  • Access control → Live: every entry with the person, the time, the decision and its reason.
  • Diagnostics → Technical log, and each device’s log under Hardware: connections, disconnections, reads and how they were handled.
  1. 1BadgeThe member shows a card, key fob or wristband.
  2. 2ReaderIt reads the number and sends it to the controller, usually over Wiegand.
  3. 3ControllerIt passes the read to the PC over the network cable.
  4. 4GymzaMembership, hours, unpaid balance, anti-passback: the software decides.
  5. 5RelayThe controller closes the contact for a few seconds.
  6. 6TurnstileThe arm releases and the entry is recorded.

The software decides (4)

The controller opens (5–6)

Diagram. The stages of an entry. A failure almost always sits at one of them: the badge (1), the reader (2), the network link (3), a rule (4) or the relay wiring (5 and 6).

The reception reader types symbols or an incomplete number

If you see characters such as àà&é instead of digits, the reader works: it is Windows’ AZERTY keyboard transforming the keys. Gymza translates them back automatically; nothing to change in Windows. The USB reader guide explains it in detail.

If Gymza refuses the reading with a message, it is not exactly 10 digits. Three possible causes:

  • the badge was pulled away too fast, or presented twice in a row: a partial or doubled reading;
  • the reader outputs another format (hexadecimal, 8 digits…): set Reception reader to “Free” in Settings → RFID badges, or reconfigure the reader;
  • another window had the focus: the start of the number went elsewhere. Keep Gymza in front.

Badge recognised at reception, “unknown badge” at the turnstile

This is the classic failure of a new installation, especially with MIFARE 13.56 MHz badges. The reception USB reader types the card’s full identifier; the turnstile reader, wired in 26-bit Wiegand, sends only 24 bits of it. Same card, two numbers.

26-bit Wiegand frame (H10301 format)

ParityFacility code · 8 bitsCard number · 16 bitsParity

A 4-byte MIFARE card number · 32 bits

04A32B91
Lost byteThe 24 bits sent

The USB reader at the desk may type all 32 bits; the door reader only sends 24. Same card, two numbers.

Diagram. Why the same card can have two numbers: in 26-bit Wiegand, the top byte of the identifier is not sent.

Gymza tries the other possible readings by itself (reversed bytes, 26-bit Wiegand) and accepts the result only if it identifies a single enrolled badge. When that works, the log shows a line like this:

Badge matched through another reading read=10693521 stored=77802385 via=WIEGAND_26

  1. In Diagnostics → Technical log, filter on Badge matched and note the value after via=.
  2. In Settings → RFID badges → Badge number format, choose that format (for example “Wiegand 26-bit (3 bytes)”) instead of “Automatic”. Every entry becomes a direct lookup again.
  3. If no reading matches, the two readers are set to genuinely different outputs. Fix it at the reader: most USB readers have a configuration card or DIP switches to choose decimal or hexadecimal and the byte order. Set it to the door reader’s format, re-enrol the test badge and try again. The Wiegand vs USB reader guide explains the formats.

The badge is read, but access is refused

Here the hardware works: a rule is saying no. The exact reason is shown at reception, in Access control → Live. The customer display never shows the reason in public: it simply invites the member to see reception.

The most frequent refusal reasons and what to do
Reason shownWhat it meansWhat to do
Membership expiredThe end date has passedRenew at reception; see the follow-up method
Membership not started yetSold with a future start dateCheck the start date
Membership frozenThe member asked for a pauseLift the freeze if the member returns early
No visits leftVisit pack used upSell a new pack
Daily limit reachedAlready entered the allowed number of times todayNormal; adjust the rule if you sell multi-entry plans
Badge just usedAnti-passback: the same badge has just gone throughOften a lent badge; otherwise lengthen or shorten the delay
Unpaid balanceThe unpaid-balance rule is set to “refuse”Collect the payment, or set the rule to “warn”
Outside opening hoursGym closed, or an off-peak planCheck hours and tolerance
Badge reported lost / disabledThe badge was blockedReplace or re-enable the badge
Unknown badgeThe number belongs to nobodySee the previous section, or assign the badge

If a rule refuses too often by mistake, do not switch it off in a hurry: adjust its setting (anti-passback delay, hours tolerance, “warn” mode for unpaid balances). The guide on expired memberships and lent badges explains how to set each one.

Access granted on screen, but the turnstile does not move

The software said yes; the problem is between the controller and the turnstile. In Hardware, open the controller and run Test:

  • The relay does not click: it is wiring. Check the relay output (NO and COM contacts to the turnstile’s control input) and the shared ground between controller and turnstile. See dry-contact relays.
  • The relay clicks but the arm does not release: check that this controller is bound to this entrance in Gymza, and that you wired the input of the right passage direction on the turnstile.
  • The arm releases twice for one badge: two readers are probably wired to the same door. Lowering the debounce does not fix this.

The controller is red or “not answering”

The message says which layer failed. Check in order: the network cable, the IP address, the port, then that nobody else is talking to the controller.

  1. From the reception PC, in the command prompt: ping 192.168.1.50 (replace with your controller’s address). No answer: cable, address or controller off.
  2. In PowerShell: Test-NetConnection 192.168.1.50 -Port 4370 for a ZKTeco C3 panel (a Door Link controller uses port 5510 by default). TcpTestSucceeded : True is what you need.
  3. Ping answers but not the port: the controller’s communication service is busy or misconfigured. A ZKTeco C3 controller accepts only one program at a time: close ZKAccess or ZKBioSecurity on every PC (including the icon next to the clock), and any other software connected to the controller.
  4. Message “The communication password is not correct”: if the controller has no communication password (most C3 controllers have none), clear the password field in Gymza; otherwise, enter the one set in ZKAccess.
  5. Message “The panel refused the command” although the controller works with ZKAccess: before Gymza 1.3.6, a controller with no communication password could be refused this way. Update Gymza, close ZKAccess, and leave the password empty unless one was set in ZKAccess.
  6. Message “Connection closed”: another program holds the controller (see above). If the controller works with ZKAccess all the same: before Gymza 1.3.7, some C3-200 that work without a session never connected. Update Gymza and close ZKAccess.

Other symptoms

  • Entries appear late, all at once: normal after a PC restart. The controller sends back the entries it handled alone, with their real time, and each one is recorded once.
  • Some badges work, others do not: often two badge batches with identifiers of different lengths. Review the number format (“unknown badge” section).
  • Numbers vary from one read to the next at the turnstile: interference on the Wiegand link. Move the data cable away from the motor cable and check the ground.
  • A “device disconnected” alert in the bell: a reader or controller stopped answering. Gymza raises one per day and per device, not one every fifteen minutes.

When to call support

If none of this solves the problem, open Diagnostics → Export diagnostics. Gymza produces a single zip file with the device log, their statuses and the versions, and no member data. That is what support will ask for. If remote help is needed, you authorise it from the software, with a one-time code.

Sources

Facts about other manufacturers’ products come from these documents. Gymza’s capabilities are checked in the application.

  1. Understanding Card Data Formats (opens in a new tab) · HID Global · accessed

Frequently asked questions

What if the PC is off or breaks down?

With a USB reader at reception, check-in happens on the PC: if it is off, reception goes back to manual check-in until it restarts, and nothing is lost.

For a turnstile (Gymza Custom), it depends on the controller: with a Door Link controller, the list of authorised badges is kept in the controller; with a ZKTeco C3 panel, the PC makes the decision, hence one shared UPS for the PC and the controller. We settle this with you in the quote.

Does Gymza support RFID?

Yes. The RFID and Advanced plans include badge check-in: the member presents a card or key fob, Gymza checks the subscription, detects an expired one and records the visit in the access log.

In Morocco, they come with a 125 kHz USB RFID reader and 100 badges. Advanced adds the shop and the class schedule; turnstiles are configured with Gymza Custom.

How does support work?

The Gymza team answers in French and Arabic, by WhatsApp, phone or email. 12 months of technical support are included with every licence; in Morocco, it then continues with optional maintenance.

If remote assistance is needed, you authorise it yourself from the software with a one-time code: there is no hidden access.

A problem this guide does not solve?

Send us the diagnostics file and a description of the symptom: the team works in French and Arabic.

14-day free trial, no credit card, no online account

Download Gymza